<?php
function hash_pass($password)
{
    $salt = "peBAs9A3*6u@6u?'?AV";	
    return hash("sha512", "$password$salt");
}function generateRandomString($length = 10) {    $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';    $randomString = '';    for ($i = 0; $i < $length; $i++) {        $randomString .= $characters[rand(0, strlen($characters) - 1)];    }    return $randomString;}
?>
